﻿
namespace HSS.Xaml.UI.Interactivity
{
	#region DoubleClickMethodCallAction
	/// <summary>
	/// A CallMethodAction that implements <see cref="IDoubleClickAction"/>.
	/// </summary>
	public sealed class DoubleClickMethodCallAction : Microsoft.Expression.Interactivity.Core.CallMethodAction, IDoubleClickAction
	{
		/// <summary>
		/// Invoke from a double click action.
		/// </summary>
		void IDoubleClickAction.DoubleClickInvoke()
		{
			this.Invoke(null);
		}
		/// <summary>
		/// Invoke the action.
		/// </summary>
		/// <param name="parameter">The parameter for the action.</param>
		protected override void Invoke(object parameter)
		{
			base.Invoke(parameter);
		}
	}
	#endregion
}